package com.qianzhou.eduService.service;

import com.qianzhou.dto.UserCourseOrderDTO;
import com.qianzhou.vo.UserCourseOrderVO;

import java.util.List;

/**
 * @Author: qian.zhou
 * @Description:
 * @Date Created in 2021-08-29-16:36
 * @Modified By:
 */
public interface UserCourseOrderService {
    /**
     * 功能描述
     *
     * @param dto
     * @return void
     * @author qian.zhou
     * @date 2021/8/29
     */
    void saveOrder(UserCourseOrderDTO dto);

    Integer updateOrder(String orderNo, Byte status);

    Integer deleteOrder(String orderNo);

    List<UserCourseOrderVO> getOrdersByUserId(String userId);
}
